var l1_myChart = echarts.init(document.getElementById('l1'),'dark');

var l1_option = {
    textStyle:{
        color: '#fff',
    },
    title: {
        text: '全国累计统计',
        textStyle: {
            fontSize:15,
            align:"center",
        }
    },
    tooltip: {
        trigger: 'axis'
    },
    legend: {
        data: ['累计确诊', '剩余疑似', '累计治愈', '累计死亡'],
        top: 23,
    },
    grid: {
        left: '3%',
        right: '4%',
        bottom: '3%',
        containLabel: true
    },
    xAxis: {
        type: 'category',
        boundaryGap: false,
        data: ['1.1', '1.2', '1.3', '1.4', '1.5', '1.6', '1.7']
    },
    yAxis: {
        type: 'value'
    },
    series: [
        {
            name: '累计确诊',
            type: 'line',
            stack: '总量',
            data: [120, 132, 101, 134, 90, 230, 210]
        },
        {
            name: '剩余疑似',
            type: 'line',
            stack: '总量',
            data: [220, 182, 191, 234, 290, 330, 310]
        },
        {
            name: '累计治愈',
            type: 'line',
            stack: '总量',
            data: [220, 182, 191, 234, 290, 330, 310]
        },
        {
            name: '累计死亡',
            type: 'line',
            stack: '总量',
            data: [220, 182, 191, 234, 290, 330, 310]
        },
    ]
};
l1_myChart.setOption(l1_option);
